


<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>人类高质量管理系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">

  <!--清除缓存-->
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="0">

  <link rel="stylesheet" href="layui/css/layui.css" >
  <style>
    /* 移动端 */
    @media screen and (max-width: 768px) {
      .layui-layout-admin .layui-layout-left,
      .layui-layout-admin .layui-body,
      .layui-layout-admin .layui-footer{left: 0;}
      .layui-layout-admin .layui-side{left: -300px;}
    }
  </style>
</head>
<body>

<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo layui-hide-xs layui-bg-black">宇宙级管理系统</div>
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <!-- 移动端显示 -->
      <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
        <i class="layui-icon layui-icon-spread-left"></i>
      </li>

      <li class="layui-nav-item layui-hide-xs"><a href="">Windows</a></li>
      <li class="layui-nav-item layui-hide-xs"><a href="">Linux</a></li>
      <li class="layui-nav-item layui-hide-xs"><a href="">IOS</a></li>



    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item layui-hide layui-show-md-inline-block">
        <a href="javascript:;">
          <img src="img/icon.JPG" class="layui-nav-img">
          <span id="show_username">tester</span>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/about.html">个人信息</a></dd>
          <dd><a href="/logout">退出</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
        <a href="javascript:;">
          <i class="layui-icon layui-icon-more-vertical"></i>
        </a>
      </li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">用户</a>
          <dl class="layui-nav-child">
            <dd><a href="user.html">用户管理</a></dd>
            <dd class="layui-this"><a href="usergroup.html">用户分组</a></dd>
            <dd><a href="javascript:;">用户标签</a></dd>

          </dl>
        </li>
        <li class="layui-nav-item layui-nav-itemed">
          <a href="javascript:;">商品</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">商品管理</a></dd>
            <dd><a href="javascript:;">商品分组</a></dd>
            <dd><a href="javascript:;">商品统计</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item layui-nav-itemed">
          <a href="javascript:;">客服</a>
          <dl class="layui-nav-child">
            <dd><a href="cs.html">客服管理</a></dd>
            <dd><a href="javascript:;">客服分组</a></dd>
            <dd><a href="javascript:;">客服话术</a></dd>
          </dl>
        </li>
      </ul>
    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">

      <!-- 内容主体区域  面包屑-->
      <span class="layui-breadcrumb">
        <a href="index.html">首页</a>
        <a><cite>用户</cite></a>
        <a><cite>分组管理</cite></a>
      </span>

      <!-- 水平线 -->
      <hr class="layui-bg-blue">


      <!-- 搜索条件 -->
      <fieldset class="layui-elem-field">
        <legend>筛选条件</legend>
        <div class="layui-field-box">
          <div class="layui-form-item layui-form-pane">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
              <input type="text" id="search_username" placeholder="请输入用户名" class="layui-input">
            </div>

            <label class="layui-form-label">权限</label>
            <div class="layui-input-inline">
              <input type="text" id="search_auth" placeholder="请输入权限" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item layui-form-pane">
            <div class="layui-inline">
              <button class="layui-btn layui-btn-radius layui-btn-warm" id="iReset">重置</button>
              <button class="layui-btn layui-btn-radius layui-btn-normal" id="searchVal">搜索</button>
            </div>
          </div>
        </div>
      </fieldset>


      这是内容主体区域 后期修改为统计页面

  </div>
  </div>

  <div class="layui-footer">
    <!-- 底部固定区域 -->
       <link href="">@CopyRight      网安局备案号00000000</link>
  </div>
</div>
<script src="layui/layui.js" ></script>
<script src="jquery/jquery-3.6.0.js" ></script>
<script>

  let username = sessionStorage.getItem("username")
  console.log("index.html  username"+username)
  $("#show_username").text(username)

  //JS
  layui.use(['element', 'layer', 'util'], function(){
    var element = layui.element
            ,layer = layui.layer
            ,util = layui.util
            ,$ = layui.$;

    //头部事件
    util.event('lay-header-event', {
      //左侧菜单事件
      menuLeft: function(othis){
        layer.msg('展开左侧菜单的操作', {icon: 0});
      }
      ,menuRight: function(){
        layer.open({
          type: 1
          ,title: '更多'
          ,content: '<div style="padding: 15px;">处理右侧面板的操作</div>'
          ,area: ['260px', '100%']
          ,offset: 'rt' //右上角
          ,anim: 5
          ,shadeClose: true
          ,scrollbar: false
        });
      }
    });

  });
</script>

</body>
</html>
